<template>
  <div id="app">
    <router-view/>

    <FooterGuide v-show="!$route.meta.requiresAuth"></FooterGuide>
  </div>
</template>

<script>
import FooterGuide from './components/FooterGuide/FooterGuide'
export default {
  name: 'App',
  components:{
    FooterGuide//挂载组件
  },
  data(){
    return {
        flag:true
    }
  },
  mounted(){
     this.$store.dispatch('getUserInfo')
  }
  // 在跳转到登录组件时 让flag变为true
}
</script>

<style scoped lang='stylus'>
  #app
    width 100%
    height 100%
    background #f5f5f5  
</style>
